Concurrency by Tutorials by 2023

Concurrency by Tutorials by 2023

Author:2023
Language: eng
Format: epub
Publisher: Kodeco Inc


If it’s not canceled, then it will move directly from isExecuting to isFinished.

Each of the aforementioned states are read-only Boolean properties on the Operation class. You can query them at any point during the execution of the task to see whether or not the task is executing.

The Operation class handles all of these state transitions for you. The only two you can directly influence are the isExecuting state, by starting the operation, and the isCancelled state, if you call the cancel method on the object.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.